<?php
/**
 * Created by PhpStorm.
 * User: 小蛮哼哼哼
 * Email: 243194993@qq.com
 * Date: 2021/10/22
 * Time: 16:04
 * motto: 现在的努力是为了小时候吹过的牛逼！
 */

declare(strict_types=1);

namespace app\common\validate;


class Desc extends Base
{
    protected $rule = [
        "title" => "require",
        "author" => "require",
        "description" => "require",

    ];
    protected $message = [
        "title.require" => "剧场名称不能为空",
        "description.require" => "请填写内容",
        "author.require"=>"请输入作者"
    ];
    protected $scene = [
        "add" => ['title', 'author','description']
    ];
}